Skip to content

test(mcp-server): await the edit in the H2 approval test - #46

Merged
Madraka merged 2 commits into
mainfrom
test/e2e-h2-race
Oct 21, 2026
Merged

Madraka merged 2 commits into
mainfrom
test/e2e-h2-race

Conversation

@Madraka

@Madraka Madraka commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Fixes a flaky test that failed CI on main after #44: voids an elicited approval when the site changed after the question (H2) fired the page edit without awaiting it, so under load the retry could beat the edit and the publish succeeded. The answer handler may now be async, and the test awaits the edit before approving. 5/5 local runs green. No product code changed.

🤖 Generated with Claude Code

The test fired the edit without awaiting it, so on a loaded runner the
client's retry could reach the server before the edit was written: the
publish then succeeded and the test failed (main, run after #44). The
answer handler now awaits the edit, which is the scenario the test
describes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Madraka <[email protected]>
@Madraka
Madraka enabled auto-merge October 21, 2026 11:43
@Madraka
Madraka merged commit ddcf203 into main Oct 21, 2026
4 checks passed
@Madraka
Madraka deleted the test/e2e-h2-race branch October 21, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant